SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5024c58bb3e3ad46d8f3428314fd935bcf4f8b9939f76a904a20f172f07d52cb' 
  AND token = 'cFRdjT0HQZQ+L8V9RJnsDF3dq4VVBikJs2HrX1N+SkM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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