SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9861c32acd17c483572345342c30640ddc07195c8100e609c4c47027a609664' 
  AND token = '5OuwXpOKNCoK+aVsP0aUDSAZ+H26Dba27LaLVNHn5Wc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}