SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea56a511ecae0ab54fab925bc0300e7129eb9060f99b4ed2d2d392512e009eaa' 
  AND token = 'OnCyJlIOm+SbLMS0/prliXR9oFzimRBrwUh4QyXhWYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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